import Dimensions from 'Dimensions';
import {PixelRatio} from 'react-native';

//装维账号登录
exports.LOGIN_REQUEST_URL = "http://10.18.5.6:8080/api/login";
//本地网关账号登录
exports.LOCAL_GATEWAYLOGIN_REQUEST_URL = "http://example.com";

//组件名称（用于导航）
exports.LOGIN_VIEW = 'Login';
exports.STATUS_CHECK_VIEW = 'StatusCheck';
exports.TESTING_VIEW = 'TestFunction';
    exports.COVER_TEST_VIEW = 'CoverTest';
    exports.COVERED_TEST_VIEW = 'CoveredTest';
exports.SETTING_VIEW = 'Setting';
exports.SIGNAL_CHANNEL_VIEW = 'SignalChannel';
exports.UNDERBARREL_DEVICE_VIEW = 'UnderbarrelDevice';
exports.DATA_FLOW_VIEW = 'DataFlow';

exports.IMG = {
    icon_in: require('../../assets/img/icon_in.png'),
    icon_ck: require('../../assets/img/icon_ck.png'),
    icon_sz: require('../../assets/img/icon_sz.png'),
    icon_fx: require('../../assets/img/icon_fx.png'),
    icon_cs: require('../../assets/img/icon_cs.png'),
    ztImg_ri:require('../../assets/img/icon_set.png'),
    ztImg_bu:require('../../assets/img/icon_se.png')
};

exports.WIDTH = Dimensions.get('window').width;
exports.HEIGHT = Dimensions.get('window').height;
exports.ONEPT = 1 / PixelRatio.get();